
sort_string:     file format elf64-littleaarch64


Disassembly of section .init:

0000000000400538 <.init>:
  400538:	a9bf7bfd 	stp	x29, x30, [sp, #-16]!
  40053c:	910003fd 	mov	x29, sp
  400540:	9400003a 	bl	400628 <gets@plt+0x58>
  400544:	a8c17bfd 	ldp	x29, x30, [sp], #16
  400548:	d65f03c0 	ret

Disassembly of section .plt:

0000000000400550 <__libc_start_main@plt-0x20>:
  400550:	a9bf7bf0 	stp	x16, x30, [sp, #-16]!
  400554:	90000090 	adrp	x16, 410000 <gets@plt+0xfa30>
  400558:	f947fe11 	ldr	x17, [x16, #4088]
  40055c:	913fe210 	add	x16, x16, #0xff8
  400560:	d61f0220 	br	x17
  400564:	d503201f 	nop
  400568:	d503201f 	nop
  40056c:	d503201f 	nop

0000000000400570 <__libc_start_main@plt>:
  400570:	b0000090 	adrp	x16, 411000 <gets@plt+0x10a30>
  400574:	f9400211 	ldr	x17, [x16]
  400578:	91000210 	add	x16, x16, #0x0
  40057c:	d61f0220 	br	x17

0000000000400580 <__gmon_start__@plt>:
  400580:	b0000090 	adrp	x16, 411000 <gets@plt+0x10a30>
  400584:	f9400611 	ldr	x17, [x16, #8]
  400588:	91002210 	add	x16, x16, #0x8
  40058c:	d61f0220 	br	x17

0000000000400590 <abort@plt>:
  400590:	b0000090 	adrp	x16, 411000 <gets@plt+0x10a30>
  400594:	f9400a11 	ldr	x17, [x16, #16]
  400598:	91004210 	add	x16, x16, #0x10
  40059c:	d61f0220 	br	x17

00000000004005a0 <puts@plt>:
  4005a0:	b0000090 	adrp	x16, 411000 <gets@plt+0x10a30>
  4005a4:	f9400e11 	ldr	x17, [x16, #24]
  4005a8:	91006210 	add	x16, x16, #0x18
  4005ac:	d61f0220 	br	x17

00000000004005b0 <strcmp@plt>:
  4005b0:	b0000090 	adrp	x16, 411000 <gets@plt+0x10a30>
  4005b4:	f9401211 	ldr	x17, [x16, #32]
  4005b8:	91008210 	add	x16, x16, #0x20
  4005bc:	d61f0220 	br	x17

00000000004005c0 <printf@plt>:
  4005c0:	b0000090 	adrp	x16, 411000 <gets@plt+0x10a30>
  4005c4:	f9401611 	ldr	x17, [x16, #40]
  4005c8:	9100a210 	add	x16, x16, #0x28
  4005cc:	d61f0220 	br	x17

00000000004005d0 <gets@plt>:
  4005d0:	b0000090 	adrp	x16, 411000 <gets@plt+0x10a30>
  4005d4:	f9401a11 	ldr	x17, [x16, #48]
  4005d8:	9100c210 	add	x16, x16, #0x30
  4005dc:	d61f0220 	br	x17

Disassembly of section .text:

00000000004005e0 <.text>:
  4005e0:	d280001d 	mov	x29, #0x0                   	// #0
  4005e4:	d280001e 	mov	x30, #0x0                   	// #0
  4005e8:	aa0003e5 	mov	x5, x0
  4005ec:	f94003e1 	ldr	x1, [sp]
  4005f0:	910023e2 	add	x2, sp, #0x8
  4005f4:	910003e6 	mov	x6, sp
  4005f8:	580000c0 	ldr	x0, 400610 <gets@plt+0x40>
  4005fc:	580000e3 	ldr	x3, 400618 <gets@plt+0x48>
  400600:	58000104 	ldr	x4, 400620 <gets@plt+0x50>
  400604:	97ffffdb 	bl	400570 <__libc_start_main@plt>
  400608:	97ffffe2 	bl	400590 <abort@plt>
  40060c:	00000000 	.inst	0x00000000 ; undefined
  400610:	004006dc 	.inst	0x004006dc ; undefined
  400614:	00000000 	.inst	0x00000000 ; undefined
  400618:	00400910 	.inst	0x00400910 ; undefined
  40061c:	00000000 	.inst	0x00000000 ; undefined
  400620:	00400990 	.inst	0x00400990 ; undefined
  400624:	00000000 	.inst	0x00000000 ; undefined
  400628:	90000080 	adrp	x0, 410000 <gets@plt+0xfa30>
  40062c:	f947f000 	ldr	x0, [x0, #4064]
  400630:	b4000040 	cbz	x0, 400638 <gets@plt+0x68>
  400634:	17ffffd3 	b	400580 <__gmon_start__@plt>
  400638:	d65f03c0 	ret
  40063c:	00000000 	.inst	0x00000000 ; undefined
  400640:	b0000080 	adrp	x0, 411000 <gets@plt+0x10a30>
  400644:	91012000 	add	x0, x0, #0x48
  400648:	b0000081 	adrp	x1, 411000 <gets@plt+0x10a30>
  40064c:	91012021 	add	x1, x1, #0x48
  400650:	eb00003f 	cmp	x1, x0
  400654:	540000a0 	b.eq	400668 <gets@plt+0x98>  // b.none
  400658:	90000001 	adrp	x1, 400000 <__libc_start_main@plt-0x570>
  40065c:	f944d821 	ldr	x1, [x1, #2480]
  400660:	b4000041 	cbz	x1, 400668 <gets@plt+0x98>
  400664:	d61f0020 	br	x1
  400668:	d65f03c0 	ret
  40066c:	d503201f 	nop
  400670:	b0000080 	adrp	x0, 411000 <gets@plt+0x10a30>
  400674:	91012000 	add	x0, x0, #0x48
  400678:	b0000081 	adrp	x1, 411000 <gets@plt+0x10a30>
  40067c:	91012021 	add	x1, x1, #0x48
  400680:	cb000021 	sub	x1, x1, x0
  400684:	9343fc21 	asr	x1, x1, #3
  400688:	8b41fc21 	add	x1, x1, x1, lsr #63
  40068c:	9341fc21 	asr	x1, x1, #1
  400690:	b40000a1 	cbz	x1, 4006a4 <gets@plt+0xd4>
  400694:	90000002 	adrp	x2, 400000 <__libc_start_main@plt-0x570>
  400698:	f944dc42 	ldr	x2, [x2, #2488]
  40069c:	b4000042 	cbz	x2, 4006a4 <gets@plt+0xd4>
  4006a0:	d61f0040 	br	x2
  4006a4:	d65f03c0 	ret
  4006a8:	a9be7bfd 	stp	x29, x30, [sp, #-32]!
  4006ac:	910003fd 	mov	x29, sp
  4006b0:	f9000bf3 	str	x19, [sp, #16]
  4006b4:	b0000093 	adrp	x19, 411000 <gets@plt+0x10a30>
  4006b8:	39412260 	ldrb	w0, [x19, #72]
  4006bc:	35000080 	cbnz	w0, 4006cc <gets@plt+0xfc>
  4006c0:	97ffffe0 	bl	400640 <gets@plt+0x70>
  4006c4:	52800020 	mov	w0, #0x1                   	// #1
  4006c8:	39012260 	strb	w0, [x19, #72]
  4006cc:	f9400bf3 	ldr	x19, [sp, #16]
  4006d0:	a8c27bfd 	ldp	x29, x30, [sp], #32
  4006d4:	d65f03c0 	ret
  4006d8:	17ffffe6 	b	400670 <gets@plt+0xa0>
  4006dc:	d11c43ff 	sub	sp, sp, #0x710
  4006e0:	a9007bfd 	stp	x29, x30, [sp]
  4006e4:	910003fd 	mov	x29, sp
  4006e8:	b9070fbf 	str	wzr, [x29, #1804]
  4006ec:	90000000 	adrp	x0, 400000 <__libc_start_main@plt-0x570>
  4006f0:	91270000 	add	x0, x0, #0x9c0
  4006f4:	52800281 	mov	w1, #0x14                  	// #20
  4006f8:	97ffffb2 	bl	4005c0 <printf@plt>
  4006fc:	90000000 	adrp	x0, 400000 <__libc_start_main@plt-0x570>
  400700:	9127c000 	add	x0, x0, #0x9f0
  400704:	97ffffa7 	bl	4005a0 <puts@plt>
  400708:	14000010 	b	400748 <gets@plt+0x178>
  40070c:	9102c3a2 	add	x2, x29, #0xb0
  400710:	b9870fa1 	ldrsw	x1, [x29, #1804]
  400714:	aa0103e0 	mov	x0, x1
  400718:	d37ef400 	lsl	x0, x0, #2
  40071c:	8b010000 	add	x0, x0, x1
  400720:	d37cec00 	lsl	x0, x0, #4
  400724:	8b010000 	add	x0, x0, x1
  400728:	8b000042 	add	x2, x2, x0
  40072c:	b9870fa0 	ldrsw	x0, [x29, #1804]
  400730:	d37df000 	lsl	x0, x0, #3
  400734:	910043a1 	add	x1, x29, #0x10
  400738:	f8206822 	str	x2, [x1, x0]
  40073c:	b9470fa0 	ldr	w0, [x29, #1804]
  400740:	11000400 	add	w0, w0, #0x1
  400744:	b9070fa0 	str	w0, [x29, #1804]
  400748:	b9470fa0 	ldr	w0, [x29, #1804]
  40074c:	71004c1f 	cmp	w0, #0x13
  400750:	540002cc 	b.gt	4007a8 <gets@plt+0x1d8>
  400754:	9102c3a2 	add	x2, x29, #0xb0
  400758:	b9870fa1 	ldrsw	x1, [x29, #1804]
  40075c:	aa0103e0 	mov	x0, x1
  400760:	d37ef400 	lsl	x0, x0, #2
  400764:	8b010000 	add	x0, x0, x1
  400768:	d37cec00 	lsl	x0, x0, #4
  40076c:	8b010000 	add	x0, x0, x1
  400770:	8b000040 	add	x0, x2, x0
  400774:	97ffff97 	bl	4005d0 <gets@plt>
  400778:	7100001f 	cmp	w0, #0x0
  40077c:	54000160 	b.eq	4007a8 <gets@plt+0x1d8>  // b.none
  400780:	b9870fa1 	ldrsw	x1, [x29, #1804]
  400784:	aa0103e0 	mov	x0, x1
  400788:	d37ef400 	lsl	x0, x0, #2
  40078c:	8b010000 	add	x0, x0, x1
  400790:	d37cec00 	lsl	x0, x0, #4
  400794:	8b010000 	add	x0, x0, x1
  400798:	9102c3a1 	add	x1, x29, #0xb0
  40079c:	38606820 	ldrb	w0, [x1, x0]
  4007a0:	7100001f 	cmp	w0, #0x0
  4007a4:	54fffb41 	b.ne	40070c <gets@plt+0x13c>  // b.any
  4007a8:	910043a0 	add	x0, x29, #0x10
  4007ac:	b9470fa1 	ldr	w1, [x29, #1804]
  4007b0:	94000016 	bl	400808 <gets@plt+0x238>
  4007b4:	90000000 	adrp	x0, 400000 <__libc_start_main@plt-0x570>
  4007b8:	91288000 	add	x0, x0, #0xa20
  4007bc:	97ffff79 	bl	4005a0 <puts@plt>
  4007c0:	b9070bbf 	str	wzr, [x29, #1800]
  4007c4:	14000009 	b	4007e8 <gets@plt+0x218>
  4007c8:	b9870ba0 	ldrsw	x0, [x29, #1800]
  4007cc:	d37df000 	lsl	x0, x0, #3
  4007d0:	910043a1 	add	x1, x29, #0x10
  4007d4:	f8606820 	ldr	x0, [x1, x0]
  4007d8:	97ffff72 	bl	4005a0 <puts@plt>
  4007dc:	b9470ba0 	ldr	w0, [x29, #1800]
  4007e0:	11000400 	add	w0, w0, #0x1
  4007e4:	b9070ba0 	str	w0, [x29, #1800]
  4007e8:	b9470ba1 	ldr	w1, [x29, #1800]
  4007ec:	b9470fa0 	ldr	w0, [x29, #1804]
  4007f0:	6b00003f 	cmp	w1, w0
  4007f4:	54fffeab 	b.lt	4007c8 <gets@plt+0x1f8>  // b.tstop
  4007f8:	52800000 	mov	w0, #0x0                   	// #0
  4007fc:	a9407bfd 	ldp	x29, x30, [sp]
  400800:	911c43ff 	add	sp, sp, #0x710
  400804:	d65f03c0 	ret
  400808:	a9bd7bfd 	stp	x29, x30, [sp, #-48]!
  40080c:	910003fd 	mov	x29, sp
  400810:	f9000fa0 	str	x0, [x29, #24]
  400814:	b90017a1 	str	w1, [x29, #20]
  400818:	b9002fbf 	str	wzr, [x29, #44]
  40081c:	14000034 	b	4008ec <gets@plt+0x31c>
  400820:	b9402fa0 	ldr	w0, [x29, #44]
  400824:	11000400 	add	w0, w0, #0x1
  400828:	b9002ba0 	str	w0, [x29, #40]
  40082c:	14000029 	b	4008d0 <gets@plt+0x300>
  400830:	b9802fa0 	ldrsw	x0, [x29, #44]
  400834:	d37df000 	lsl	x0, x0, #3
  400838:	f9400fa1 	ldr	x1, [x29, #24]
  40083c:	8b000020 	add	x0, x1, x0
  400840:	f9400002 	ldr	x2, [x0]
  400844:	b9802ba0 	ldrsw	x0, [x29, #40]
  400848:	d37df000 	lsl	x0, x0, #3
  40084c:	f9400fa1 	ldr	x1, [x29, #24]
  400850:	8b000020 	add	x0, x1, x0
  400854:	f9400000 	ldr	x0, [x0]
  400858:	aa0003e1 	mov	x1, x0
  40085c:	aa0203e0 	mov	x0, x2
  400860:	97ffff54 	bl	4005b0 <strcmp@plt>
  400864:	7100001f 	cmp	w0, #0x0
  400868:	540002ed 	b.le	4008c4 <gets@plt+0x2f4>
  40086c:	b9802fa0 	ldrsw	x0, [x29, #44]
  400870:	d37df000 	lsl	x0, x0, #3
  400874:	f9400fa1 	ldr	x1, [x29, #24]
  400878:	8b000020 	add	x0, x1, x0
  40087c:	f9400000 	ldr	x0, [x0]
  400880:	f90013a0 	str	x0, [x29, #32]
  400884:	b9802ba0 	ldrsw	x0, [x29, #40]
  400888:	d37df000 	lsl	x0, x0, #3
  40088c:	f9400fa1 	ldr	x1, [x29, #24]
  400890:	8b000021 	add	x1, x1, x0
  400894:	b9802fa0 	ldrsw	x0, [x29, #44]
  400898:	d37df000 	lsl	x0, x0, #3
  40089c:	f9400fa2 	ldr	x2, [x29, #24]
  4008a0:	8b000040 	add	x0, x2, x0
  4008a4:	f9400021 	ldr	x1, [x1]
  4008a8:	f9000001 	str	x1, [x0]
  4008ac:	b9802ba0 	ldrsw	x0, [x29, #40]
  4008b0:	d37df000 	lsl	x0, x0, #3
  4008b4:	f9400fa1 	ldr	x1, [x29, #24]
  4008b8:	8b000020 	add	x0, x1, x0
  4008bc:	f94013a1 	ldr	x1, [x29, #32]
  4008c0:	f9000001 	str	x1, [x0]
  4008c4:	b9402ba0 	ldr	w0, [x29, #40]
  4008c8:	11000400 	add	w0, w0, #0x1
  4008cc:	b9002ba0 	str	w0, [x29, #40]
  4008d0:	b9402ba1 	ldr	w1, [x29, #40]
  4008d4:	b94017a0 	ldr	w0, [x29, #20]
  4008d8:	6b00003f 	cmp	w1, w0
  4008dc:	54fffaab 	b.lt	400830 <gets@plt+0x260>  // b.tstop
  4008e0:	b9402fa0 	ldr	w0, [x29, #44]
  4008e4:	11000400 	add	w0, w0, #0x1
  4008e8:	b9002fa0 	str	w0, [x29, #44]
  4008ec:	b94017a0 	ldr	w0, [x29, #20]
  4008f0:	51000400 	sub	w0, w0, #0x1
  4008f4:	b9402fa1 	ldr	w1, [x29, #44]
  4008f8:	6b00003f 	cmp	w1, w0
  4008fc:	54fff92b 	b.lt	400820 <gets@plt+0x250>  // b.tstop
  400900:	d503201f 	nop
  400904:	a8c37bfd 	ldp	x29, x30, [sp], #48
  400908:	d65f03c0 	ret
  40090c:	00000000 	.inst	0x00000000 ; undefined
  400910:	a9bc7bfd 	stp	x29, x30, [sp, #-64]!
  400914:	910003fd 	mov	x29, sp
  400918:	a901d7f4 	stp	x20, x21, [sp, #24]
  40091c:	90000094 	adrp	x20, 410000 <gets@plt+0xfa30>
  400920:	90000095 	adrp	x21, 410000 <gets@plt+0xfa30>
  400924:	91374294 	add	x20, x20, #0xdd0
  400928:	913722b5 	add	x21, x21, #0xdc8
  40092c:	a902dff6 	stp	x22, x23, [sp, #40]
  400930:	cb150294 	sub	x20, x20, x21
  400934:	f9001ff8 	str	x24, [sp, #56]
  400938:	2a0003f6 	mov	w22, w0
  40093c:	aa0103f7 	mov	x23, x1
  400940:	9343fe94 	asr	x20, x20, #3
  400944:	aa0203f8 	mov	x24, x2
  400948:	97fffefc 	bl	400538 <__libc_start_main@plt-0x38>
  40094c:	b4000194 	cbz	x20, 40097c <gets@plt+0x3ac>
  400950:	f9000bb3 	str	x19, [x29, #16]
  400954:	d2800013 	mov	x19, #0x0                   	// #0
  400958:	f8737aa3 	ldr	x3, [x21, x19, lsl #3]
  40095c:	aa1803e2 	mov	x2, x24
  400960:	aa1703e1 	mov	x1, x23
  400964:	2a1603e0 	mov	w0, w22
  400968:	91000673 	add	x19, x19, #0x1
  40096c:	d63f0060 	blr	x3
  400970:	eb13029f 	cmp	x20, x19
  400974:	54ffff21 	b.ne	400958 <gets@plt+0x388>  // b.any
  400978:	f9400bb3 	ldr	x19, [x29, #16]
  40097c:	a941d7f4 	ldp	x20, x21, [sp, #24]
  400980:	a942dff6 	ldp	x22, x23, [sp, #40]
  400984:	f9401ff8 	ldr	x24, [sp, #56]
  400988:	a8c47bfd 	ldp	x29, x30, [sp], #64
  40098c:	d65f03c0 	ret
  400990:	d65f03c0 	ret

Disassembly of section .fini:

0000000000400994 <.fini>:
  400994:	a9bf7bfd 	stp	x29, x30, [sp, #-16]!
  400998:	910003fd 	mov	x29, sp
  40099c:	a8c17bfd 	ldp	x29, x30, [sp], #16
  4009a0:	d65f03c0 	ret
